home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / config.emx < prev    next >
Text File  |  1997-08-20  |  5KB  |  261 lines

  1. /* config.emx.  */
  2. /* OS/2-Config-Header. */
  3. /* (c) Klaus Gebhardt, 1994 - 1997 */
  4.  
  5. #ifdef _ALL_SOURCE
  6. #undef _ALL_SOURCE
  7. #endif
  8.  
  9. #if defined (EMX09C)
  10.  
  11. /* Special EMX */
  12. #define isinf(x)   (!isfinite(x) && !isnan(x))
  13. #define finite(x)  isfinite(x)
  14. #define Complex double_complex
  15. #define octave_procbuf procbuf
  16.  
  17.  
  18. /* Misc */
  19. #undef  const
  20. #undef  CRAY_STACKSEG_END
  21. #undef  _MINIX
  22. #undef  _POSIX_1_SOURCE
  23. #undef  _POSIX_SOURCE
  24. #undef  HAVE_BSD_SIGNALS
  25. #undef  HAVE_POSIX_SIGNALS
  26. #undef  SYS_SIGLIST_DECLARED
  27. #undef  HAVE_SYS_SIGLIST
  28. #define RETSIGTYPE void
  29. #define MUST_REINSTALL_SIGHANDLERS
  30. #define SEPCHAR ';'
  31. #define SEPCHAR_STR ";"
  32. #undef  CLOSEDIR_VOID
  33. #undef  SETVBUF_REVERSED
  34. #define STACK_DIRECTION 0
  35. #define STDC_HEADERS
  36. #define TIME_WITH_SYS_TIME
  37. #define TM_IN_SYS_TIME
  38. #undef  HAVE_GR_PASSWD
  39. #define C_ALLOCA
  40. #define DIRENT
  41. #undef  GETTIMEOFDAY_NO_TZ 
  42. #undef  SMART_PUTENV
  43. #undef  SCO
  44. #undef  RUSAGE_TIMES_ONLY
  45.  
  46.  
  47. /* Numbers */
  48. #undef  IEEE_BIG_ENDIAN
  49. #define IEEE_LITTLE_ENDIAN
  50. #undef  WORDS_BIGENDIAN
  51. #undef  VAX_D_FLOAT
  52. #undef  VAX_G_FLOAT
  53. #define SIZEOF_INT 4
  54. #define SIZEOF_LONG 4
  55. #define SIZEOF_SHORT 2
  56. #undef  SIGNGAM_DECLARED
  57. #undef  EXCEPTION_IN_MATH
  58.  
  59.  
  60. /* Fortran */
  61. #define F77_APPEND_UNDERSCORE
  62. #undef  F77_UPPERCASE_NAMES
  63.  
  64.  
  65. /* Functions */
  66. #define HAVE_ALLOCA
  67. #undef  HAVE_ASINH
  68. #undef  HAVE_ACOSH
  69. #undef  HAVE_ATANH
  70. #define HAVE_ATEXIT
  71. #define HAVE_BCOPY
  72. #define HAVE_BCOPY
  73. #define HAVE_BZERO
  74. #define HAVE_DUP
  75. #define HAVE_DUP2
  76. #undef  HAVE_ENDGRENT
  77. #define HAVE_ENDPWENT
  78. #undef  HAVE_ERF
  79. #undef  HAVE_ERFC
  80. #define HAVE_EXECVP
  81. #define HAVE_FCNTL
  82. #define HAVE_FINITE
  83. #undef  HAVE_FORK
  84. #undef  HAVE_GAMMA
  85. #define HAVE_GETCWD
  86. #undef  HAVE_GETEGID
  87. #undef  HAVE_GETEUID
  88. #undef  HAVE_GETGID
  89. #undef  HAVE_GETGRENT
  90. #undef  HAVE_GETGRGID
  91. #undef  HAVE_GETGRNAM
  92. #undef  HAVE_GETHOSTNAME
  93. #undef  HAVE_GETPGRP
  94. #define HAVE_GETPID
  95. #define HAVE_GETPPID
  96. #define HAVE_GETPWENT
  97. #define HAVE_GETPWNAM
  98. #define HAVE_GETPWUID
  99. #undef  HAVE_GETRUSAGE
  100. #undef  HAVE_GETUID
  101. #define HAVE_GETWD
  102. #define HAVE_GETTIMEOFDAY
  103. #undef  HAVE_INFINITY
  104. #define HAVE_ISINF
  105. #define HAVE_ISNAN
  106. #undef  HAVE_LGAMMA
  107. #undef  HAVE_LSTAT
  108. #define HAVE_MEMMOVE
  109. #define HAVE_MKDIR
  110. #define HAVE_MKFIFO
  111. #undef  HAVE_ON_EXIT
  112. #define HAVE_PIPE
  113. #undef  HAVE_PROGRAM_INVOCATION_NAME
  114. #define HAVE_PUTENV
  115. #undef  HAVE_QUIET_NAN
  116. #define HAVE_RENAME
  117. #undef  HAVE_RINDEX
  118. #define HAVE_RMDIR
  119. #undef  HAVE_SETGRENT
  120. #undef  HAVE_SETPWENT
  121. #define HAVE_SETVBUF
  122. #define HAVE_SPAWNVP
  123. #undef  HAVE_STRCASECMP
  124. #define HAVE_STRDUP
  125. #define HAVE_STRERROR
  126. #define HAVE_STRFTIME
  127. #define HAVE_STRICMP
  128. #undef  HAVE_STRNCASECMP
  129. #define HAVE_STRNICMP
  130. #define HAVE_SIGACTION
  131. #define HAVE_SIGPENDING
  132. #define HAVE_SIGPROCMASK
  133. #define HAVE_SIGSUSPEND
  134. #undef  HAVE_ST_BLKSIZE
  135. #undef  HAVE_ST_BLOCKS
  136. #define HAVE_ST_RDEV
  137. #define HAVE_STAT
  138. #undef  HAVE_SYS_SIGLIST
  139. #define HAVE_TIMES
  140. #define HAVE_TEMPNAM
  141. #undef  HAVE_TM_ZONE
  142. #define HAVE_TZNAME
  143. #define HAVE_UMASK
  144. #undef  HAVE_USG_SIGHOLD
  145. #undef  HAVE_USLEEP
  146. #define HAVE_UNLINK
  147. #define HAVE_VFPRINTF
  148. #define HAVE_VSPRINTF
  149. #define HAVE_WAITPID
  150. #define HAVE__SLEEP2
  151.  
  152.  
  153. /* Headers */
  154. #define HAVE_ALLOCA_H
  155. #define HAVE_ASSERT_H
  156. #define HAVE_CURSES_H
  157. #define HAVE_DIRENT_H
  158. #define HAVE_FCNTL_H
  159. #define HAVE_FLOAT_H
  160. #undef  HAVE_FLOATINGPOINT_H
  161. #define HAVE_GRP_H
  162. #undef  HAVE_IEEEFP_H
  163. #define HAVE_LIMITS_H
  164. #define HAVE_MEMORY_H
  165. #undef  HAVE_NAN_H
  166. #undef  HAVE_NCURSES_H
  167. #undef  HAVE_NDIR_H
  168. #define HAVE_PWD_H
  169. #define HAVE_SGTTY_H
  170. #define HAVE_STDLIB_H
  171. #define HAVE_STRING_H
  172. #define HAVE_SYS_DIR_H
  173. #define HAVE_SYS_FCNTL_H
  174. #undef  HAVE_SYS_NDIR_H
  175. #define HAVE_SYS_PARAM_H
  176. #undef  HAVE_SYS_PTEM_H
  177. #define HAVE_SYS_RESOURCE_H
  178. #undef  HAVE_SYS_SELECT_H
  179. #define HAVE_SYS_STAT_H
  180. #define HAVE_SYS_TIME_H
  181. #define HAVE_SYS_TIMES_H
  182. #undef  HAVE_SYS_TTOLD_H
  183. #define HAVE_SYS_TYPES_H
  184. #define HAVE_SYS_UTSNAME_H
  185. #define HAVE_SYS_WAIT_H
  186. #define HAVE_TERMCAP_H
  187. #define HAVE_TERMIO_H
  188. #undef  HAVE_TERMIOS_H
  189. #define HAVE_UNISTD_H
  190. #define HAVE_VARARGS_H
  191.  
  192.  
  193. /* Libraries */
  194. #undef  HAVE_LIBDL
  195. #undef  HAVE_LIBDLD
  196. #define HAVE_LIBM
  197. #define HAVE_LIBSOCKET
  198. #undef  HAVE_LIBSUN
  199. #undef  HAVE_LIBSUNMATH
  200.  
  201.  
  202. /* Definitions in <sys/types.h> */
  203. #undef  gid_t
  204. #undef  mode_t
  205. #undef  off_t
  206. #undef  pid_t
  207. #undef  size_t
  208. #undef  uid_t
  209. #undef  dev_t
  210. #undef  ino_t
  211. #undef  nlink_t
  212. #undef  sigset_t
  213.  
  214.  
  215. /* Dynamic linking. */
  216. #define WITH_DYNAMIC_LINKING
  217. #define WITH_DL
  218. #define HAVE_DLCLOSE
  219. #define HAVE_DLERROR
  220. #define HAVE_DLOPEN
  221. #define HAVE_DLSYM
  222. #undef  WITH_SHL
  223. #undef  HAVE_SHL_FINDSYM
  224. #undef  HAVE_SHL_LOAD
  225.  
  226.  
  227. /* Octave specific defines */
  228. #undef  OCTAVE_LITE
  229. #define OCTAVE_SOURCE
  230. #undef  BOUNDS_CHECKING
  231. #define USE_GNU_INFO
  232. #define USE_READLINE
  233.  
  234.  
  235. /* Plotting */
  236. #undef  GNUPLOT_HAS_FRAMES
  237. #define GNUPLOT_HAS_MULTIPLOT
  238. #undef  USE_PLPLOT
  239.  
  240.  
  241. #if defined (__GNUC__)
  242. #define GCC_ATTR_NORETURN __attribute__ ((__noreturn__))
  243. #define GCC_ATTR_UNUSED __attribute__ ((__unused__))
  244. #else
  245. #define GCC_ATTR_NORETURN
  246. #define GCC_ATTR_UNUSED
  247. #endif
  248.  
  249. #if defined (__GNUC__)
  250. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 7)
  251. #define NPOS string::npos
  252. #endif
  253. #endif
  254.  
  255. #define STATIC_CAST(T, E) (T) (E)
  256. #define DYNAMIC_CAST(T, E) (T) (E)
  257. #define REINTERPRET_CAST(T, E) (T) (E)
  258. #define HEAVYWEIGHT_INDEXING 1
  259.  
  260. #endif /* defined (EMX09C) */
  261.